package com.movie.api.constant;

/**
 * 订单状态
 */
public final class OrderStatus {

    // 10分钟没有支付的话就支付失败
    public final static long EXPIRATION_TIME = 1000 * 60 * 10;

    // 订单已生成，正在等待用户支付
    public final static Integer PAYMENT_WAITING = 0;

    // 支付失败
    public final static Integer PAYMENT_FAILED = 1;

    // 支付成功
    public final static Integer PAYMENT_SUCCESSFUL = 2;

}
